"""BiliBiliVideo URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
# 王曾辉
from django.conf.urls import url
from login_register import views

urlpatterns = [
    url(r'^$',views.index),#将index设置为主页
    url(r'^login/$',views.login),
    url(r'^regist/$',views.regist),
    url(r'^logout/$',views.logout),
    url(r'^index2/$',views.index2),
    url(r'^content/$',views.content),
    url(r'^content_next/$',views.content_next),
    url(r'^content_pre/$',views.content_pre),
    url(r'^content_save/$',views.content_save),
    url(r'^content_read/$',views.content_read),
    url(r'^content_search/$',views.content_search),
    url(r'^content_del/$',views.content_del),
]